﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CMP.ERP.Model
{
    /// <summary>
    /// 采购表
    /// </summary>
    public  class Purchase
    {
        /// <summary>
        /// 采购编码
        /// </summary>
        public int Purchase_Id { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public string  Purchase_State { get; set; }
        /// <summary>
        /// 商品总额
        /// </summary>
        public int SumMoney { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string  Purchase_Remark { get; set; }
        /// <summary>
        /// 外键供应商编号
        /// </summary>
        public int Supplier_Id { get; set; }
        /// <summary>
        /// 外键供应商导航属性
        /// </summary>
        public virtual Supplier Supplier { get; set; }
        /// <summary>
        /// 外键仓库编号
        /// </summary>
        public int WareHose_Id { get; set; }
        /// <summary>
        /// 外键仓库导航属性
        /// </summary>
        public virtual WareHose WareHose { get; set; }
        /// <summary>
        /// 采购数量
        /// </summary>
        public int Purchase_Num { get; set; }
        /// <summary>
        /// 外键商品信息编号
        /// </summary>
        public int Commodity_Id { get; set; }
        /// <summary>
        /// 外键商品信息导航属性 
        /// </summary>
        public virtual Commodity Commodity { get; set; }
    }
}
